package com.gw.booking.common;

public class Constant {

	/** 客户 小程序appid*/
	public static final String DINER_APPID = "wxdb0a3ed59bdab464";
	/** 客户 小程序appSecret*/
	public static final String DINER_APPSECRET = "734b878877ab0228a5011a43fac2a253";

	/** 测试 小程序appid*/
	public static final String TEST_APPID = "wx4b5dc95166682c2c";
	/** 测试 小程序appSecret*/
	public static final String TEAT_APPSECRET = "c4f1a8960524de0194a31d140d1ac2cc";

	/** 模板id 小程序订单取消通知*/
	public static final String ORDER_CANCEL_MODEL_ID = "BfMmwXtW0pQrF6CKjDQ80saKefFx1HRjS51IzYyGprw";
	/** 模板id 小程序订单确认通知*/
	public static final String  ORDER_CONFIRM_MODEL_ID= "lrj6zFvYAS3Ex-WNCOKPmwZMcMsKUw9Z-AS0-5qLuFw";
	/** 模板id 小程序订单修改通知*/
	public static final String ORDER_CHANGE_MODEL_ID = "Paor-VVxB9q01aAgMAjIxESpU-DK47xusq8KR_xqOCY";

	/** 模板内容 小程序订单取消通知消息*/
	public static final String ORDER_CANCEL_MODEL_MSG= "预约已满";
	/** 模板内容 小程序订单修改通知消息*/
	public static final String ORDER_CHANGE_MODEL_MSG= "请点击进入小程序确认是否同意变更";
	/** 模板内容 小程序订单通知消息跳转地址*/
	public static final String ORDER_WECHAT_URL= "pages/preview/preDetail?orderId=";


	/** 模板id 小程序订单修改通知*/
	public static final String ORDER_TEMPLATE_ID = "okFqNrAaK4q4mEFcMsJoOMQQRN0wgathmSNexou5A4w";
	/** 模板内容 小程序确认通知消息*/
	public static final String ORDER_MSG_CONFIRM = "恭喜您预订成功，恭候您的光临！";
	/** 模板内容 小程序取消通知消息*/
	public static final String ORDER_MSG_CANCEL = "由于[reason]的原因，您的预订被取消了 ！ ";
	/** 模板内容 小程序变更通知消息*/
	public static final String ORDER_MSG_CHANGE = "您的预订发生了变更，请点击查看详情确认！";
	/** 模板内容 小程序变更通知消息*/
	public static final String ORDER_MSG_OVERTIME = "预约已过期，建议重新预约或联系商家！ ";


	/** 商家 公众号appid*/
	public static final String MERCHANT_APPID = "wxfaaa4af41d451ca0";
	/** 商家 公众号appSecret*/
	public static final String MERCHANT_APPSECRET = "783a7be1a8530fe94c42f85d7927cab7";


	/** 模板id 公众号订单新增通知*/
	public static final String ORDER_ADD_MODEL_ID = "T5rw4XH3oc42_cYxrpLQMo2222xrNnmLl4kbL4HOVFE";

	/** 模板内容 公众号订单新增通知消息*/
	public static final String ORDER_ADD_MODEL_MSG_1= "有新的客户预约，请及时确认";
	/** 模板内容 公众号订单新增通知消息*/
	public static final String ORDER_ADD_MODEL_MSG_2= "点击确认预约，或修改预约时间";
	/** 模板内容 公众号订单通知消息跳转地址*/
	public static final String ORDER_MERCHANT_URL= "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";

	/** 模板内容 公众号订单修改通知消息*/
	public static final String ORDER_UPDATE_MODEL_MSG_1= "客户预约变更，请及时确认";
	/** 模板内容 公众号订单修改通知消息*/
	public static final String ORDER_UPDATE_MODEL_MSG_2= "点击确认预约，或修改预约时间";


	/** 跳转地址 公众号绑定商家二维码地址*/
	public static final String BIND_MERCHANT_URL = "http://www.japitta.com/booking_merchant/index.html#/orders/bind?merchantId=";
	/** 跳转地址 小程序进入商家详情地址*/
	public static final String FIND_MERCHANT_DETAIL_URL = "http://www.japitta.com/booking/files/pages/index/indexDetail?merchantId=";

	/** 后台用户*/
	public static final String USER_TYPE_BACKEND = "backend";
	/** 商家*/
	public static final String USER_TYPE_MERCHANT = "merchant";
	/** 会员*/
	public static final String USER_TYPE_DINER = "diner";


	/** 订单编号类型-商城订单 */
	public static final String ORDER_TYPE_MALL = "商城订单";
	/** 订单编号类型-商家进货单 */
	public static final String ORDER_TYPE_MERCHANT = "商家进货单";
	/** 订单编号类型-退换货单 */
	public static final String ORDER_TYPE_BACK = "退换货单";
	/** 订单编号类型-商城退款 */
	public static final String ORDER_TYPE_REFUND = "商城退款";


	/** 订单状态-预约确认中*/
	public static final Integer ORDER_STATUS_HANDING = 0;
	/** 订单状态-预约完成*/
	public static final Integer ORDER_STATUS_CONFIRM = 1;
	/** 订单状态-到店*/
	public static final Integer ORDER_STATUS_SUCCESS = 2;
	/** 订单状态-取消*/
	public static final Integer ORDER_STATUS_CANCEL = 3;
	/** 订单状态-却下*/
	public static final Integer ORDER_STATUS_FAIL = 4;
	/** 订单状态-已超时*/
	public static final Integer ORDER_STATUS_OVERTIME = 5;


	/** 角色id-管理员*/
	public static final int ROLE_ID_ADMIN = 1;

	public static final int USER_CITY_ID_ADMIN = 0;

	/** 范围-距离 用以用户筛选附近商家*/
	public static final double RANGE_LONG = 9000;

	/** 标志-FALSE*/
	public static final Integer FALSE = 0;
	/** 标志-TRUE*/
	public static final Integer TRUE = 1;


	/** 一天毫秒数 */
	public static final long ONE_DAY = 24 * 60 * 60 * 1000;

	/** 消息地址：推送消息地址*/
	public static final String SEND_SMS_URL = "http://www.japitta.com/booking_merchant/index.html#/orders/detail?id=";

	/** 却下理由-满席（满位）*/
	public static final Integer ORDER_FAIL_REASON_FULL = 1;
	/** 却下理由-定休日（休息）*/
	public static final Integer ORDER_FAIL_REASON_REST = 2;
	/** 却下理由-その他(其他)*/
	public static final Integer ORDER_FAIL_REASON_OTHERS = 3;

	/** 却下理由-满席（满位）*/
	public static final String ORDER_FAIL_REASON_MSG_FULL = "满席";
	/** 却下理由-定休日（休息）*/
	public static final String ORDER_FAIL_REASON_MSG_REST = "定休日";
	/** 却下理由-その他(其他)*/
	public static final String ORDER_FAIL_REASON_MSG_OTHERS = "その他";

}
